package com.danbay.cloud.account.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.danbay.cloud.account.dto.EmployeeInfoDto;
import com.danbay.cloud.account.entity.Employee;

import java.util.List;

/**
 * @author SJG
 *         2018/1/4.
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    /**
     * 查找员工信息
     * @param page 分页信息
     * @param employee 查询条件
     * @return 员工列表
     */
    List<Employee> findEmployees(Pagination page, Employee employee);

}
